package com.cen.cloud.dao;

import com.cen.cloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author cen
 * @Date 2020/10/4 16:25
 */
@Repository
@Mapper
public interface DeptDao {
    public boolean addDept(Dept dept);

    List<Dept> getAll();

    public Dept getByID(Long deptno);
}
